<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>处理用户输入</title>
</head>

<body>
    <script type="text/javascript" src="build.js"></script>
</body>

<div id="app">
    <a>{{ message }}</a>
    <ul>
        <li> {{ name }} </li>
    </ul>
    <button v-on:click="change">点击</button>
</div>


<script type="text/javascript">


new Ue({
    el: '#app',
    data: {
        name: "name",
        message: 'Hello Vue.js!'
    },
    methods: {
        change: function(event) {
            console.log(event)
            this.message = "测试点击"
            this.name = "aaron"
        }
    }
})

</script>

</html>
